start value of enum is changed

This commit is contained in:
병준 박 2022-08-25 06:40:59 +00:00
parent f22dbaae89
commit 5ac12a6b6a
4 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
/// ///
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, PartialOrd, diesel_derive_enum::DbEnum)] #[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, PartialOrd, diesel_derive_enum::DbEnum)]
pub enum MemberState { pub enum MemberState {
Normal, Normal = 1,
Pending, Pending,
Withdrawal, Withdrawal,
Dormancy, Dormancy,

View File

@ -4,7 +4,7 @@
/// ///
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)] #[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
pub enum MemberBankDepositState { pub enum MemberBankDepositState {
Application, Application = 1,
Complete, Complete,
} }

View File

@ -4,7 +4,7 @@
/// ///
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)] #[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
pub enum MemberBankWithdrawState { pub enum MemberBankWithdrawState {
Application, Application = 1,
Complete, Complete,
} }

View File

@ -4,14 +4,14 @@
/// ///
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, PartialOrd, diesel_derive_enum::DbEnum)] #[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, PartialOrd, diesel_derive_enum::DbEnum)]
pub enum SettlementType { pub enum SettlementType {
Rolling, Rolling = 1,
Loosing, Loosing,
} }
/// ///
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, PartialOrd, diesel_derive_enum::DbEnum)] #[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, PartialOrd, diesel_derive_enum::DbEnum)]
pub enum ManualPaymentType { pub enum ManualPaymentType {
Disable, Disable = 1,
AllChildPartner, AllChildPartner,
OnlyDirectPartner, OnlyDirectPartner,
} }